package com.liao.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liao.seckill.pojo.Order;
import com.liao.seckill.pojo.User;
import com.liao.seckill.vo.GoodsVo;

/**
 * @author lzp
 * @version 1.0
 * lzpnb!
 */
public interface OrderService extends IService<Order> {
    Order seckill(User user, GoodsVo goodsVo);

    String createPath(User user,Long goodsId);

    boolean checkPath(User user,Long goodsId,String path);

    boolean checkCaptcha(User user,Long goodsId,String captcha);
}
